OTP\Handler\Forms\GravityForm A

Total Complexity 64
Dependencies 9
Dependents 0
Total lines 372
Lines of code 225
Logical lines of code 111
Comment lines 125
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
parseform_datails()
A
47 13 31
validate_form_submit()
A
52 10 21
handle_form_options()
S
55 6 17
validate_submitted_email_or_phone()
S
57 6 17
handleGfForm()
S
56 4 19
validate_otp()
S
57 3 18
get_phone_number_selector()
S
63 4 9
isEmailOrPhoneField()
S
73 4 4
__construct()
S
56 2 17
processEmailAndStartOTPVerificationProcess()
S
61 2 13
processPhoneAndStartOTPVerificationProcess()
S
61 2 13
handle_form()
S
60 2 12
miniorange_gravity_script()
S
55 1 20
mo_gravity_unset_session()
S
73 2 5
handle_failed_verification()
S
79 1 3
handle_post_verification()
S
79 1 3
unset_otp_session_variables()
S
80 1 3